﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using House.Server.Dto;
using House.Server.Repository;
namespace House.Server.Service
{
    public class System_DictionaryService : BaseService<System_DictionaryRepository, Dictionary>
    {
        System_DictionaryRepository dal=new System_DictionaryRepository();

        /// <summary>
        /// 字典链接显示
        /// </summary>
        /// <returns></returns>
        public List<System_DictionaryorDicState> link_show()
        {
            return dal.link_show();
        }

        /// <summary>
        /// 字典Dmenuid查询显示
        /// </summary>
        /// <returns></returns>
        public List<System_DictionaryorDicState> inquire_show(int id)
        {
            return dal.inquire_show(id);
        }

        /// <summary>
        /// 字典Did查询显示
        /// </summary>
        /// <returns></returns>
        public List<Dictionary> single_show(int id)
        {
            return dal.single_show(id);
        }

    }
}
